 import { createApp } from 'vue'
//import './style.css'
//import "./style/scssConfig.scss"
import App from './App.vue'
//引入ElementPlus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
//引入路由
import router from './router/index.js'
//import myApi from './myApi/index.js'
//引入缓存配置功能
import configs from './configs/index'
//引入api 封装的请求方法
import api from './myApi/index'
//引入lib 组件的基础样式定义
import lib from './myLibrary/index'
//引入功能集合
import fnc from './fnc/index.js'
import locale from 'element-plus/lib/locale/lang/zh-cn'
//import VueJsModal from 'vue-js-modal';


const app=createApp(App)
//app.mount('#app')
app.use(ElementPlus,{locale}).use(router).mount('#app')
//放到全局
app.config.globalProperties.API = api
app.config.globalProperties.configs =configs
app.config.globalProperties.router =router
app.config.globalProperties.fnc=fnc 
app.config.globalProperties.lib=lib
